<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0">
    <title>分类</title>
    <link href="css/base.css" type="text/css" rel="stylesheet" />
    <link href="css/category.css" type="text/css" rel="stylesheet" />
    <script src="js/common.js" type="text/javascript"></script>
    <script src="js/category.js" type="text/javascript"></script>
    <script src="https://cdn.bootcss.com/iScroll/5.2.0/iscroll.js"></script>
</head>

<body>
    <header class="hm_topBar">
        <a href="index.html" class="icon_back"></a>
        <h3>购物车</h3>
        <a href="" class="icon_menu"></a>
    </header>
    <div class="en">
        <div class="hm_category_left">
            <ul>
                <li><a href="index.html">首页</a></li>
                <li class="now"><a href="javascript:;">热门推荐</a></li>
                <li><a href="category.html">男鞋</a></li>
                <li><a href="cat-woman.html">女鞋</a></li>
                <li><a href="keep.html">运动</a></li>
            </ul>
        </div>
        <div class="hm_category_right">
            <div class="hm_category_right_box">
                <a href="" class="banner">
                    <img src="images/banner_1.jpg" alt="">
                </a>
                <div class="hot_cat">
                    <h3>热门分类</h3>
                    <ul>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                        <li>
                            <a href="">
                                <img src="images/nv-fy.jpg" alt="">
                                <p>毛大衣</p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <script>
        // var kong = document.querySelector('.hot_cat');
        var li = document.querySelectorAll('.hot_cat li');
        console.log(li);
        // console.log(kong);
        for (var i = 0; i < li.length; i++) {
            li[i].addEventListener('click', function() {
                alert("请联系微信客服：4564465");
            })
        }
    </script>
</body>

</html>